Optimal. Leaf size=99 \[ -\frac{2 A (a+b x)}{a \sqrt{x} \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{2 (a+b x) (A b-a B) \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{a^{3/2} \sqrt{b} \sqrt{a^2+2 a b x+b^2 x^2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.187452, antiderivative size = 99, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.129 \[ -\frac{2 A (a+b x)}{a \sqrt{x} \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{2 (a+b x) (A b-a B) \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{a^{3/2} \sqrt{b} \sqrt{a^2+2 a b x+b^2 x^2}} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/(x^(3/2)*Sqrt[a^2 + 2*a*b*x + b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: RecursionError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/x**(3/2)/((b*x+a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0702718, size = 81, normalized size = 0.82 \[ \frac{2 (a+b x) (a B-A b) \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{a^{3/2} \sqrt{b} \sqrt{(a+b x)^2}}-\frac{2 A (a+b x)}{a \sqrt{x} \sqrt{(a+b x)^2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/(x^(3/2)*Sqrt[a^2 + 2*a*b*x + b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.011, size = 71, normalized size = 0.7 \[ -2\,{\frac{bx+a}{\sqrt{ \left ( bx+a \right ) ^{2}}a\sqrt{ab}\sqrt{x}} \left ( A\arctan \left ({\frac{b\sqrt{x}}{\sqrt{ab}}} \right ) \sqrt{x}b-B\arctan \left ({\frac{b\sqrt{x}}{\sqrt{ab}}} \right ) \sqrt{x}a+A\sqrt{ab} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/x^(3/2)/((b*x+a)^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt((b*x + a)^2)*x^(3/2)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.280073, size = 1, normalized size = 0.01 \[ \left [-\frac{{\left (B a - A b\right )} \sqrt{x} \log \left (-\frac{2 \, a b \sqrt{x} - \sqrt{-a b}{\left (b x - a\right )}}{b x + a}\right ) + 2 \, \sqrt{-a b} A}{\sqrt{-a b} a \sqrt{x}}, -\frac{2 \,{\left ({\left (B a - A b\right )} \sqrt{x} \arctan \left (\frac{a}{\sqrt{a b} \sqrt{x}}\right ) + \sqrt{a b} A\right )}}{\sqrt{a b} a \sqrt{x}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt((b*x + a)^2)*x^(3/2)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/x**(3/2)/((b*x+a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.276885, size = 77, normalized size = 0.78 \[ \frac{2 \,{\left (B a{\rm sign}\left (b x + a\right ) - A b{\rm sign}\left (b x + a\right )\right )} \arctan \left (\frac{b \sqrt{x}}{\sqrt{a b}}\right )}{\sqrt{a b} a} - \frac{2 \, A{\rm sign}\left (b x + a\right )}{a \sqrt{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt((b*x + a)^2)*x^(3/2)),x, algorithm="giac")
[Out]